package com.fz.song.mapping;

import com.fz.song.pojo.SysRoleUser;

import java.util.List;

public interface SysRoleUserMapper {
    int deleteByPrimaryKey(Integer sysid);

    int insert(SysRoleUser record);

    int insertSelective(SysRoleUser record);

    SysRoleUser selectByPrimaryKey(Integer sysid);

    int updateByPrimaryKeySelective(SysRoleUser record);

    int updateByPrimaryKey(SysRoleUser record);

    List<SysRoleUser> getUserRoleByUserId(int sysid);

    void cleanUserRole(int userid);

    int insertbatch(List<SysRoleUser> list);
}